package com.xzit.aop.impl;

import org.springframework.stereotype.Component;

@Component
public class TravelService {
    public void travel(String name, String from, String to) {
        System.out.printf("您好，%s，欢迎您乘坐从%s到%s航班%n", name, from, to);
    }
}
